package cn.dengta.webapp.ai.entity;

import cn.dengta.webapp.base.entity.TimeBasedEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * AI 用户信息表
 *
 * @author hsj
 * @since 2024-04-23
 */
@Setter
@Getter
@TableName("dt_ai_user_info")
public class AiUserInfo extends TimeBasedEntity {

	/** AI ID */
	Long aiId;
	/** 用户ID */
	Long userId;
	/** 对你的称呼 */
	String callYou;
	String history;

	public static AiUserInfo of(Long aiId, Long userId) {
		AiUserInfo aiUserInfo = new AiUserInfo();
		aiUserInfo.aiId = aiId;
		aiUserInfo.userId = userId;
		return aiUserInfo;
	}

	public static final String AI_ID = "ai_id";
	public static final String USER_ID = "user_id";
	public static final String CALL_YOU = "call_you";
	public static final String HISTORY = "history";

}
